#include "myCuda.h"



void runC(int* in){
	thrust::fill(
		thrust::device_ptr<int>(in),
		thrust::device_ptr<int>(in) + 1000,
		1
	);



	int sum = thrust::reduce(
		thrust::device_ptr<int>(in),
		thrust::device_ptr<int>(in) + 1000
	);
	
	std::cout << sum << std::endl;
	
	
}